import request from '@/utils/request'

export function recordLog(data) {
  return request({
    url: '/log/record',
    method: 'post',
    data
  })
}

export function listLog() {
  return request({
    url: '/log/list',
    method: 'get'
  })
}
